﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KZ.Utilities;

namespace KZ.Express.H.ENT
{
    public class RoleENT : BaseENT
    {
        [Output]
        public int RoleID { get; set; }

        public string RoleName { get; set; }


        public string Description { get; set; }


        public string CreatedBy { get; set; }

        [NotInsertUpdate]
        public DateTime? CreatedDate { get; set; }

        public string UpdatedBy { get; set; }

        [NotInsertUpdate]
        public DateTime? UpdatedDate { get; set; }

        [NotInsertUpdate]
        public override string Table { get { return "Roles"; } }

        [NotInsertUpdate]
        public override string PrimaryKey { get { return "RoleID"; } }

        [NotInsertUpdate]
        public override string InsertProcedure { get { return "proc_Role_Insert"; } }

        [NotInsertUpdate]
        public override string UpdateProcedure { get { return "proc_Role_Update"; } }

        [NotInsertUpdate]
        public override string SelectProcedure { get { return "proc_Role_Select"; } }
    }
}
